import vuex from 'vuex'
import Vue from 'vue'
Vue.use(vuex)
import home from './home'
import search from './search'
import detail from './detail'
import shopCart from './shopCart'
import login from './login'
import register from './register'
import trade from './trade'
export default new vuex.Store({
    modules:{
        home,
        search,
        detail,
        shopCart,
        login,
        register,
        trade
    }
})
